home *** CD-ROM | disk | FTP | other *** search
- #ifndef INETDLIB_H
- #define INETDLIB_H
-
- /*
- * $Filename: inetdlib.h $
- * $Release$
- * $Revision: 1.1 $
- * $Date: 1993/08/12 08:19:34 $
- *
- * Internet daemon library definitions
- *
- * Author: ppessi <Pekka.Pessi@hut.fi>
- *
- * Copyright © 1993 AmiTCP/IP Group, <amitcp-group@hut.fi>
- * Helsinki University of Technology, Finland.
- * All rights reserved.
- *
- * $Id: inetdlib.h,v 1.1 1993/08/12 08:19:34 jraja Exp $
- */
-
- /* Return values from the startup code */
- #define DERR_LIB 0xA0
- #define DERR_OBTAIN 0xA1
-
- /* A socket descriptor ObtainSocket()'ed from inetd */
- extern long server_socket;
-
- /* Alternative method to obtain a server socket */
- long serveraccept(char *, struct sockaddr_in *);
-
- #endif /* INETDLIB_H */
-